package com.main.common.base.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class BaseEntity implements Serializable {
    @TableField(value = "created_by")
    private Long createdBy;
    @TableField(value = "created_at")
    private LocalDateTime createdAt;
    @TableField(value = "updated_by")
    private Long updatedBy;
    @TableField(value = "updated_at")
    private LocalDateTime updatedAt;
    @TableField(value = "remark")
    private String remark;
    @TableLogic
    private Integer isDeleted;

}
